<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app',
  created() {
    // this.http
    //   .post('user/login', { mobile: '17318634780', password: '143123' })
    //   .then(res => {
    //     console.log('请求成功123---')
    //   })
    //   .catch(res => {
    //     console.log('处理异常错误')
    //   })
  }
}
</script>

<style lang="scss"  type="text/css">
/*引入公用css文件*/
@import './css/reset.css';
@import './css/index.scss';
@import './css/common.css';
@import './css/flex.css';

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;*/
  color: #2c3e50;
  width: 100%;
  height: 100%;
  // margin-top: 60px;
}
</style>
